export const formOptions = [
  {
    label: '公告类型',
    type: 'select',
    key: 'noticeType',
    span: 6,
    props: {
      placeholder: '请选择'
    },
    options: [
      {
        label: '外网公告',
        value: '3'
      }
    ]
  },
  {
    label: '公告标题',
    type: 'input',
    key: 'noticeTitle',
    span: 6,
    props: {
      placeholder: '请输入公告标题'
    }
  },
  {
    label: '发布开始时间',
    type: 'date',
    key: 'startTime',
    span: 6,
    props: {
      placeholder: '请选择日期'
    }
  },
  {
    label: '发布结束时间',
    type: 'date',
    key: 'endTime',
    span: 6,
    props: {
      placeholder: '请选择日期'
    }
  },
  {
    label: '是否有效',
    type: 'radio',
    key: 'status',
    span: 6,
    props: {
      placeholder: '请选择'
    },
    options: [
      {
        label: '',
        text: '全部'
      },
      {
        label: '0',
        text: '有效'
      },
      {
        label: '1',
        text: '无效'
      }
    ]
  },
  {
    label: '是否置顶',
    type: 'radio',
    key: 'isTop',
    span: 6,
    props: {
      placeholder: '请选择'
    },
    options: [
      {
        label: '',
        text: '全部'
      },
      {
        label: '2',
        text: '否'
      },
      {
        label: '1',
        text: '是'
      }
    ]
  }
]

export const btns = [
  'insert'
]
